Fix xm restore broken by missing return statement.
authoremellor@ewan <emellor@ewan>
Tue, 4 Oct 2005 14:57:12 +0000 (15:57 +0100)
committeremellor@ewan <emellor@ewan>
Tue, 4 Oct 2005 14:57:12 +0000 (15:57 +0100)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendDomain.py

index 69a9917b1f25af6f17a8c9111f10571f5048e655..c18c0f61cb87a8e46185cb50365f4f2d01546565 100644 (file)
@@ -248,7 +248,7 @@ class XendDomain:
         """Restore a domain from the given file descriptor."""
 
         try:
-            XendCheckpoint.restore(self, fd)
+            return XendCheckpoint.restore(self, fd)
         except Exception, ex:
             log.exception("Restore failed")
             raise